#ifndef ACCEL_h
#define ACCEL_h

/* ACCEL class

    The ACCEL class forms the virtual base class interface
    for accelerometer objects
*/

class ACCEL
{
  public:
    virtual void get_accel(void);  // The get_accel() method loads a coherent set
                                   // of raw accelerometer data
    int x_accel;
    int y_accel;                   // The raw accelerometer readings
    int z_accel;
    int x_bias;
    int y_bias;
    int z_bias;
    int scale_num;                 // The accelerometer scale factor
    int scale_den;                 // Def: A(cm/s^2) = raw * num * 2^exp / den
    int scale_exp;                 //                = ((raw * num) << exp) / den
};

#endif
